package com.du.fileload.framework.auth;

import com.du.fileload.framework.entity.SysUserAbstract;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdetails.UsernameNotFoundException;
import org.springframework.stereotype.Component;

/**
 * 登陆身份认证
 * Author: JoeTao
 * createAt: 2018/9/14
 */
@Component(value="CustomUserDetailsService")
public class CustomUserDetailsService implements UserDetailsService {



    @Override
    public SysUserAbstract loadUserByUsername(String name) throws UsernameNotFoundException {

        return new SysUserAbstract();
    }
}